import request from '@/utils/request'

export function banner(data) {
  return request({
    url: '/user/index/banner',
    method: 'post',
    data
  })
}

export function goods(data) {
  return request({
    url: '/user/index/goods',
    method: 'post',
    data
  })
}

export function newGoods(data) {
  return request({
    url: '/user/index/newGoods',
    method: 'post',
    data
  })
}
